package community.hospital;

import community.hospital.annotation.EnableOperationLog;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author yindingjie
 */
@SpringBootApplication
@MapperScan(basePackages = "community.hospital.mapper")
@EnableTransactionManagement
//TODO 开发完后开启日志
//@EnableOperationLog
public class CommunityHospitalApplication {
    public static void main(String[] args) {
         SpringApplication.run(CommunityHospitalApplication.class, args);
    }
}
